﻿
namespace sql_data_generator.FieldOptions
{
    public class FieldOptionsTextPattern : BaseFieldOptions
    {
        /// L - for upper case letter
        /// l - for lower case letter
        /// n - for number
        /// s - for special character
        /// _ - for space character
        /// * - for any character
        /// \ - for character as-is
        public FieldOptionsTextPattern()
        {
            Pattern = "\\xLLnn_**ss\\x";
            UseUppercase = true;
            UseLowercase = true;
            UseNumber = true;
            UseLetter = true;
            UseSpace = true;
            UseSpecial = true;
        }

        public string Pattern { get; set; }
        public bool UseUppercase { get; set; }
        public bool UseLowercase { get; set; }
        public bool UseLetter { get; set; }
        public bool UseNumber { get; set; }
        public bool UseSpace { get; set; }
        public bool UseSpecial { get;  set; }
    }
}